.class final Lcom/estrongs/android/pop/utils/n$b;
.super Ljava/lang/Object;
.source "DirHide.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/utils/n;->a(Ljava/util/List;)Ljava/util/List;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/util/List;


# direct methods
.method constructor <init>(Ljava/util/List;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/utils/n$b;->a:Ljava/util/List;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 9

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 1
    :goto_0
    iget-object v2, p0, Lcom/estrongs/android/pop/utils/n$b;->a:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v1, v2, :cond_4

    .line 2
    iget-object v2, p0, Lcom/estrongs/android/pop/utils/n$b;->a:Ljava/util/List;

    invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 3
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 4
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v4

    const/4 v5, 0x1

    sub-int/2addr v4, v5

    invoke-virtual {v2, v0, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v4, "_"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v6

    invoke-virtual {v3, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 5
    new-instance v4, Ljava/io/File;

    invoke-direct {v4, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    new-instance v6, Ljava/io/File;

    invoke-direct {v6, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4, v6}, Ljava/io/File;->renameTo(Ljava/io/File;)Z

    move-result v4

    if-eqz v4, :cond_3

    .line 6
    invoke-static {}, Lcom/estrongs/android/pop/utils/n;->a()Lcom/estrongs/android/pop/utils/n;

    move-result-object v4

    const/4 v6, 0x0

    invoke-virtual {v4, v3, v5, v6, v0}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;ZLjava/util/List;Z)V

    .line 7
    invoke-static {}, Lcom/estrongs/android/pop/utils/n;->a()Lcom/estrongs/android/pop/utils/n;

    move-result-object v4

    invoke-static {v4, v3}, Lcom/estrongs/android/pop/utils/n;->a(Lcom/estrongs/android/pop/utils/n;Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 8
    invoke-static {v2}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;)V

    .line 9
    :cond_0
    new-instance v7, Ljava/io/File;

    invoke-direct {v7, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    new-instance v8, Ljava/io/File;

    invoke-direct {v8, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v7, v8}, Ljava/io/File;->renameTo(Ljava/io/File;)Z

    move-result v7

    if-nez v4, :cond_1

    if-nez v7, :cond_1

    goto :goto_1

    :cond_1
    const/4 v5, 0x0

    :goto_1
    if-eqz v5, :cond_2

    .line 10
    invoke-static {v2}, Lcom/estrongs/android/pop/utils/r;->b(Ljava/lang/String;)V

    .line 11
    :cond_2
    invoke-static {}, Lcom/estrongs/android/pop/utils/n;->a()Lcom/estrongs/android/pop/utils/n;

    move-result-object v2

    invoke-static {v2, v3, v6, v0}, Lcom/estrongs/android/pop/utils/n;->a(Lcom/estrongs/android/pop/utils/n;Ljava/lang/String;Ljava/util/List;Z)V

    :cond_3
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_4
    return-void
.end method
